<template>
    <!--这里是个人中心的首页-->
<div class="viewport">
    <div>
		<div class="userHead">
			<div class="uhTop">
				<div class="uhLeft fl">
					<a><img class="userLogo" src="@/assets/img/avatar_default_56@2x.png"></a>
						请登录/注册
				</div>
				<div class="uhRight fr">
					<!-- 这里是消息中心 -->
					<img class="userEmail" onclick="tousermsg()" src="@/assets/img/ic_news_white_home@2x.png">
					<i></i>
				</div>
			</div>
			<div>
				<ul>
					<li class="uhLi">
						<p class="uhliNum">0</p>
						<p>我的收藏</p>
					</li>
					<li class="uhLi">
						<p class="uhliNum">0</p>
						<p>浏览历史</p>
					</li>
					<li class="uhLi">
						<p class="uhliNum">0</p>
						<p>优惠卷</p>
					</li>
					<li class="uhLi">
						<p class="uhliNum">0</p>
						<p>积分</p>
					</li>
				</ul>
			</div>
		</div>
		<div class="userContent">
			<p class="ucTop">我的订单</p>
			<ul class="ucUl">
				<li class="ucLi">
					<router-link to="/orderList">
						<img src="@/assets/img/ic_profile_myorder_00@2x.png">
					</router-link>
				</li>
				<li class="ucLi">
					<router-link to="/orderList">
						<img src="@/assets/img/ic_profile_myorder_01@2x.png">
						<span class="ucObl">
							1
						</span>
                    </router-link>
				</li>
				<li class="ucLi">
					<router-link to="/orderList">
						<img src="@/assets/img/ic_profile_myorder_02@2x.png">
                    </router-link>
				</li>
				<li class="ucLi">
					<router-link to="/orderList">
						<img src="@/assets/img/ic_profile_myorder_03@2x.png">
                    </router-link>
				</li>
				<li class="ucLi">
					<router-link to="/orderList">
						<img src="@/assets/img/ic_profile_myorder_04@2x.png">
						<span class="ucObl">
							9
						</span>
                    </router-link>
				</li>
			</ul>
		</div>
	</div>
    <div class="userFoot">
		<ul class="ufUl">
			<li class="ufLi">
				我的评价
				<span class="">
				</span>
			</li>
            <router-link to="/userAddress">
			<li class="ufLi">
				收货地址
				<span class="">
				</span>
			</li>
            </router-link>
            <router-link to="/userSet">
			<li class="ufLi">
                设置
                <span class="">
                </span>
            </li>
            </router-link>
		</ul>
	</div>
</div>
</template>
<script>
export default {
    
}
</script>
<style scoped>
.userHead {
    height: 3.66rem;
    background: url(../../../assets/img/img_bg_dje.png);
    background-size: 100%;
}
.uhTop {
    position:relative;
    display: table;
    width: 100%;
}
.uhLeft {
    float: left;
    color: #fff;
    font-size: 0.42rem;
    margin-top: 4.9%;
    margin-left: 4.3%;
}
.userLogo {
    width: 1.12rem;
    height: 1.12rem;
    vertical-align: middle;
}
.uhRight {
    display: inline-block;
    position: absolute;
    right: .32rem;
    width: .64rem;
    height: .64rem;
    text-align: center;
    border-radius: 50%;
    margin-top: 6.3%;
    margin-right: 4.3%;
    float:right;
}
.userEmail {
    width: 0.64rem;
    height: 0.64rem;
}
.uhRight i {
    position: absolute;
    top: -0.02rem;
    left: .38rem;
    padding: 0 .1rem;
    display: inline-block;
    line-height: .28rem;
    color: #fff;
    font-size: 0.22rem;
    text-align: center;
    background-color: #FB4545;
    border-radius: 99999px;
}
.userContent {
    margin-top: -10px;
    border-radius: 5px 5px 0px 0px;
    background: #fff;
    padding-bottom: 0.3rem;
}
.ucTop {
    font-size: 0.3rem;
    padding-top: 2.2%;
    color: #041A27;
    font-weight: bold;
    padding-left: 4.3%;
}
.uhLi {
    width: 25%;
    float: left;
    text-align: center;
    color: #fff;
    margin-top: 10%;
}
.uhLi>p {
    font-size: 0.26rem;
}
.uhLi>p.uhliNum {
    font-size: 0.34rem;
}
.ucUl {
    display: table;
    width: 100%;
}
.ucLi {
    width: 20%;
    float: left;
    text-align: center;
    padding-top: 5.2%;
    font-size: 0.26rem;
    color: #424242;
    position: relative;
}
.ucLi img {
    width: 1.2rem;
    height: 1.08rem;
}
.ucObl {
    position: absolute;
    top: 0.25rem;
    right: 0.2rem;
    background: #fff;
    border: 1px solid #FB4545;
    color: #FB4545;
    border-radius: 1.06rem;
    padding: 0px 0.06rem;
}

.userFoot {
    background: #F2F2F2;
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
}
.ufLi {
    background: #fff;
    border-bottom: 1px solid #F2F2F2;
    height: 1.12rem;
    line-height: 1.12rem;
    padding-left: 0.32rem;
    font-size: 0.3rem;
    color: #424242;
}
.ufLi:before{
    content:"";
    display:inline-block;
    width: 0.48rem;
    height: 0.48rem;
    background:url(../../../assets/img/ic_profile_comment@2x.png);
    background-size:100% 100%;
    vertical-align: -12%;
}
.ufLi span {
    line-height: 1.12rem;
    float: right;
    width: 0.32rem;
    height: 0.32rem;
    background: url(../../../assets/img/ic_arrow_grey_m@2x.png);
    display: inline-block;
    background-size: 100%;
    margin-top: 0.35rem;
    margin-right: 0.32rem;
}
</style>
